﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="AlbumManagerForContent.ascx.cs"
    Inherits="NCS.Module.Multimedia.Admin.Gallery.AlbumManagerForContent" %>
<%@ Register Src="../UserControls/Editor.ascx" TagName="Editor" TagPrefix="uc1" %>
<%@ Register Assembly="NCS.Library" Namespace="NCS.Library.Controls"
    TagPrefix="cc1" %>
<%@ Register Assembly="NCS.FilePickerControl" Namespace="NCS.FilePicker"
    TagPrefix="cc2" %>
        <%@ Register Src="../UserControls/SelectDate.ascx" TagName="SelectDate" TagPrefix="uc1" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<table border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            Từ khóa tìm kiếm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txtkeysearch" runat="server"
                Width="395px"></asp:TextBox></td>
    </tr>
    <tr>
        <td>
            từ ngày&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <table border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td valign="top">
                        <uc1:SelectDate ID="SelectDate1" runat="server">
                        </uc1:SelectDate>
                    </td>
                    <td valign="top">
                        &nbsp;đến ngày&nbsp;</td>
                    <td valign="top">
                        <uc1:SelectDate ID="SelectDate2" runat="server">
                        </uc1:SelectDate>
                    </td>
                    <td style="padding-left: 20px;">
                        <asp:Button ID="btnSearch" runat="server" Text="Tìm kiếm" CssClass="Button" OnClick="btnSearch_Click" /></td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="height: 10px;">
        </td>
    </tr>
    <tr>
        <td style="width: 750px;">
            <cc1:GridView ID="dtgAlbumList" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                BorderColor="Gainsboro" BorderStyle="Solid" BorderWidth="1px" CellPadding="2"
                CssClass="Grid" PageSize="15" Width="100%" OnRowCommand="dtgAlbumList_RowCommand"
                OnRowDataBound="dtgAlbumList_RowDataBound">
                <AlternatingRowStyle CssClass="Grid_Raw2" />
                <RowStyle CssClass="Grid_Raw1" />
                <HeaderStyle Font-Bold="True" CssClass="Grid_Top"></HeaderStyle>
                <Columns>
                    <asp:BoundField Visible="true" DataField="AlbumID" HeaderText="ID">
                        <headerstyle width="0%"></headerstyle>
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="T&#234;n Album">
                        <headerstyle horizontalalign="Center"></headerstyle>
                        <itemtemplate>
									<asp:HyperLink ID="lnkHeadline" runat="server"></asp:HyperLink>
								</itemtemplate>
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <headerstyle horizontalalign="Center" width="120px"></headerstyle>
                        <itemstyle horizontalalign="Center"></itemstyle>
                        <headertemplate>
									<asp:Button ID="cmdupdatestatus" CausesValidation="false" runat="server" Width="60" CommandName="updatestatus"
										CssClass="Button" Text="Trạng thái"></asp:Button>
								</headertemplate>
                        <itemtemplate>
									<asp:DropDownList ID="dropStatus" runat="server" Width="80">
									    <asp:ListItem Text="Ẩn" Value="0"></asp:ListItem>
									    <asp:ListItem Text="Hiển thị" Value="1"></asp:ListItem>
									</asp:DropDownList>
								</itemtemplate>
                    </asp:TemplateField>
                </Columns>
            </cc1:GridView>
        </td>
    </tr>
</table>
